package com.itheima.danli;

import javax.swing.*;

public class Test {

    public static void main(String[] args) {
            new Thread(()->{
                SingleModel instance = SingleModel.getInstance();
                System.out.println(instance);

            }).start();

            new Thread(()->{
                SingleModel instance1 = SingleModel.getInstance();
                System.out.println(instance1);

            }).start();
    }
}
